import LayoutBase from '@/page/layout/base'
import SliderOrder from '@/page/layout/slider/order'

export default [
  {
    path: '/order',
    component: LayoutBase,
    children: [
      {
        path: '/order',
        component: SliderOrder,
        children: [
          {
            path: '/order/list',
            name: 'order',
            component: () => import(/* webpackChunkName: "notice" */'@/views/order/index'),
            meta: {title: '订单'}
          },
          {
            path: '/order/subordinate/:id',
            name: 'order',
            component: () => import(/* webpackChunkName: "notice" */'@/views/order/subordinate'),
            meta: {title: '订单'}
          },
          {
            path: '/order/subordinateDetail/:id',
            name: 'order',
            component: () => import(/* webpackChunkName: "notice" */'@/views/order/subordinateDetail'),
            meta: {title: '订单'}
          },
          {
            path: '/order/detail/:id',
            name: 'order',

            component: () => import(/* webpackChunkName: "notice" */'@/views/order/detail'),
            meta: {title: '订单'}
          },
          {
            path: '/order/administration',
            name: 'order',

            component: () => import(/* webpackChunkName: "notice" */'@/views/order/administration'),
            meta: {title: '订单'}
          },
        ]
      }
    ],
  }
]
